from rest_framework import serializers

from nav import models


class NavSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.NavModel
        fields = '__all__'
class BannerSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Banner
        fields = '__all__'


















